#include <stdio.h>
void store_zeros(int a[], int n) {
    for (int *p = a; p < a + n; p++)
        *p = 0;
}
int main(void)
{
    int a[10] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10};
    store_zeros(a, 10);
    for (int *p = a; p < a + 10; p++)
        printf("%d%c", *p, p < a + 10 -1 ? ' ' : '\n');
    return 0;
}